﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ZF.BLL.ServiceModel
{

    public class ModelBase
    {
    

    }


    /// <summary>
    /// 合作加盟
    /// </summary>
    [Serializable]
    public class HZJM : ModelBase
    {

        /// <summary>
        /// 公司 
        /// </summary>
        public string Company  { get; set; }
        /// <summary>
        /// 传真
        /// </summary>
        public string Fax { get; set; }
        /// <summary>
        /// 内容 
        /// </summary>
        public string Content { get; set; }
    }

    /// <summary>
    /// 网站留言
    /// </summary>
    [Serializable]
    public class SMSG : ModelBase
    {

        /// <summary>
        /// 留言类型
        /// </summary>
        public string Type { get; set; }
        /// <summary>
        /// 留言主题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 留言内容 
        /// </summary>
        public string Content { get; set; }
    }


    /// <summary>
    /// 交易过户
    /// </summary>
    [Serializable]
    public class JYGH : ModelBase
    {
 
        /// <summary>
        /// 交易价格
        /// </summary>
        public string Price { get; set; }
        /// <summary>
        /// 付款方式
        /// </summary>
        public string PayType { get; set; }
    }


    /// <summary>
    /// 按揭贷款，抵押贷款
    /// </summary>
    [Serializable]
    public class AJDK : ModelBase
    {

        /// <summary>
        /// 房产价值或成交价格
        /// </summary>
        public string Price { get; set; }
        /// <summary>
        /// 申请贷款额
        /// </summary>
        public string Credit { get; set; }
        /// <summary>
        /// □按揭贷款□抵押贷款
        /// </summary>
        public string Type { get; set; }
    }



    /// <summary>
    /// 我要装修
    /// </summary>
    [Serializable]
    public class OYZX : ModelBase
    {
        /// <summary>
        /// 装修内容
        /// </summary>
        public string Content{get;set;}
        /// <summary>
        /// 预算金额
        /// </summary>
        public string Price{get;set;}
        /// <summary>
        /// 完成时间
        /// </summary>
        public string FinishTime{get;set;}
        /// <summary>
        /// 上传图片
        /// </summary>
        public string Photo { get; set; }
    

    }
    /// <summary>
    /// 预订机票
    /// </summary>
    [Serializable]
    public class YDJP : ModelBase
    {
        /// <summary>
        /// 企业名称
        /// </summary>
        public string CompanyName { get; set; }
        /// <summary>
        /// 乘机人集
        /// </summary>
        public List<YDJPPeople> PeopleList { get; set; }
        /// <summary>
        /// 乘机人数量
        /// </summary>
        public int Count { get; set; }
        /// <summary>
        /// 始发地
        /// </summary>
        public string Departure { get; set; }
        /// <summary>
        /// 目的地
        /// </summary>
        public string Purpose { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public string Type { get; set; }
        /// <summary>
        /// 出发日期
        /// </summary>
        public string BegDate { get; set; }
        /// <summary>
        /// 返回日期
        /// </summary>
        public string EndDate { get; set; }
        /// <summary>
        /// 航空公司
        /// </summary>
        public string AviationCompany { get; set; }
    }
    public class FSYW
    {
        /// <summary>
        /// 委托内容
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 业务类型
        /// </summary>
        public string Type { get; set; }


        private int _Intre = 5;
        /// <summary>
        /// 积分
        /// </summary>
        public int Intre { get { return _Intre; } set { _Intre = value; } }

        private int _BuyNum = 0;
        /// <summary>
        /// 购买次数
        /// </summary>
        public int BuyNum { get { return _BuyNum; } set { _BuyNum = value; } }

        public List<int> BuyMemberIds { get; set; }

        /// <summary>
        /// 指定风水师
        /// </summary>
        public string FSS { get; set; }
    }
    public class YDJPPeople
    {
        public string Name{get;set;}
        public string Id{get;set;}
        public string Type { get; set; }
    }
    public enum ServiceType
    {
        /// <summary>
        /// 交易过户
        /// </summary>
        JYGH=1,
        /// <summary>
        /// 按揭贷款，抵押贷款
        /// </summary>
        AJDK=2,
        /// <summary>
        /// 我要装修
        /// </summary>
        OYZX=3,
        /// <summary>
        /// 预订机票
        /// </summary>
        YDJP=4,
        /// <summary>
        /// 风水业务（网站）
        /// </summary>
        FSYW=5,
        /// <summary>
        /// 风水业务（公开）
        /// </summary>
        FSYW1=6,
        /// <summary>
        /// 网站留言
        /// </summary>
        SMSG=7,
        /// <summary>
        /// 合作加盟
        /// </summary>
        HZJM=8,
    }
}
